// 三方工具-工具下载
<template>
    <div>
        <myItems :list="list"></myItems>
    </div>
</template>

<script>
import { mapGetters } from 'vuex';
import myItems from './myItems.vue';

export default {
    head: {},
    props: {},
    components: {myItems},
    data: () => ({
        list: [],
    }),
    computed: {
        ...mapGetters({
            navigateData: 'navigate/navigateData',
        }),
    },
    watch: {
        navigateData: {
            handler(n, o) {
                this.getData();
            },
            deep: true,
        },
    },
    methods: {
        getData() {
            this.list = clone(this.navigateData.gjxzlist.nodes);
        },
    },
    mounted() {
        this.getData();
    },
    beforeDestroy() {},
};
</script>

<style lang="scss" scoped>

</style>
 